package com.hmy.finance.dal.po;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.hmy.finance.dal.po.json.*;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 设备租赁记录表
 *
 * @author songkf
 * @TableName device_rental_record
 */
@TableName(value = "device_rental_record")
@Data
public class DeviceRentalRecordUpdatePo implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 6844673644660246489L;


    /**
     * 设备id
     */
    private Long deviceId;

    /**
     * 合同ID
     */
    private Long contractId;

    /**
     * 设备租赁记录ID
     */
    private Long deviceRentalRecordId;

    /**
     * 合同编号
     */
    private String contractNo;

    /**
     * 最后一次对账截止时间
     */
    private LocalDateTime lastReconciliationTime;

    /**
     * 账单对账金额
     */
    private BigDecimal reconciledAmount;

    /**
     * 账单类型
     */
    private String statementType;


}